//
//  MYTabBar.h
//  奇闻
//
//  Created by 似水灵修 on 14-11-20.
//  Copyright (c) 2014年 MingYueGuCheng. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef void(^MYTabBarBlock)(NSUInteger selectedIndex);
@class MYTabBar;
@protocol MYTabBarDelegate <NSObject>
@optional
- (void)tabBarDidClickaddButton:(MYTabBar *)tabBar;
@end
@interface MYTabBar : UIView
@property (nonatomic ,copy) MYTabBarBlock operateBlock;
@property (nonatomic, weak) id<MYTabBarDelegate> delegate;
- (void)addTabBarButton:(UITabBarItem *)item;
@end
